package com.example.demo.service;

import com.example.demo.pojo.dto.ShoppingCartAddDTO;
import com.example.demo.pojo.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    List<ShoppingCart> list();

    void add(ShoppingCartAddDTO shoppingCartAddDTO);

    void sub(ShoppingCartAddDTO shoppingCartAddDTO);

    void cleanShoppingCart();

    void select(Long id);
}
